Resursbank\Woocommerce\Settings\PartPayment A

Total Complexity 52
Dependencies 27
Dependents 3
Total lines 479
Lines of code 279
Logical lines of code 100
Comment lines 116
Methods 19
Properties 0

Methods 19

Method Rating Maintainability Complexity Lines of code
handleLimitUpdate()
A
44 8 46
updateLongestPeriodWithZeroInterest()
S
51 6 29
handleStoreIdUpdate()
S
52 4 28
validateStoreAndMethod()
S
54 4 24
canSwitchMinValueByCountry()
S
55 4 23
validateLimit()
S
61 4 13
isValidPaymentOrStoreIdOption()
S
62 4 12
sanitizeResursPartPaymentValues()
S
61 3 14
canValidateOptionChange()
S
78 2 3
updateThresholdLimit()
S
70 2 6
isValidPeriodOption()
S
77 2 3
isValidUuid()
S
67 2 8
init()
S
62 1 14
getPaymentMethodSetting()
S
62 1 12
getPeriodSetting()
S
62 1 12
getTitle()
S
79 1 3
getEnabledSetting()
S
64 1 10
getSettings()
S
65 1 10
getLimitSetting()
S
65 1 9